package com.itheima.config;


import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
@Profile("dev")     //指定多环境配置类标识
public class DevDBConnector implements DBConnector{
    @Override
    public void configure(){
        System.out.println("数据库配制环境dev");
    }
}
